package cn.maszy.model.projectmanagement;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class B_T_Ufp_EngineerMaterialExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = -1;

    protected int limitEnd = -1;

    public B_T_Ufp_EngineerMaterialExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                return ;
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                return ;
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                return ;
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidIsNull() {
            addCriterion("engineering_uuid is null");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidIsNotNull() {
            addCriterion("engineering_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidEqualTo(String value) {
            addCriterion("engineering_uuid =", value, "engineeringUuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidNotEqualTo(String value) {
            addCriterion("engineering_uuid <>", value, "engineeringUuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidGreaterThan(String value) {
            addCriterion("engineering_uuid >", value, "engineeringUuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidGreaterThanOrEqualTo(String value) {
            addCriterion("engineering_uuid >=", value, "engineeringUuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidLessThan(String value) {
            addCriterion("engineering_uuid <", value, "engineeringUuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidLessThanOrEqualTo(String value) {
            addCriterion("engineering_uuid <=", value, "engineeringUuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidLike(String value) {
            addCriterion("engineering_uuid like", value, "engineeringUuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidNotLike(String value) {
            addCriterion("engineering_uuid not like", value, "engineeringUuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidIn(List<String> values) {
            addCriterion("engineering_uuid in", values, "engineeringUuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidNotIn(List<String> values) {
            addCriterion("engineering_uuid not in", values, "engineeringUuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidBetween(String value1, String value2) {
            addCriterion("engineering_uuid between", value1, value2, "engineeringUuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringUuidNotBetween(String value1, String value2) {
            addCriterion("engineering_uuid not between", value1, value2, "engineeringUuid");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumIsNull() {
            addCriterion("engineering_num is null");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumIsNotNull() {
            addCriterion("engineering_num is not null");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumEqualTo(String value) {
            addCriterion("engineering_num =", value, "engineeringNum");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumNotEqualTo(String value) {
            addCriterion("engineering_num <>", value, "engineeringNum");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumGreaterThan(String value) {
            addCriterion("engineering_num >", value, "engineeringNum");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumGreaterThanOrEqualTo(String value) {
            addCriterion("engineering_num >=", value, "engineeringNum");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumLessThan(String value) {
            addCriterion("engineering_num <", value, "engineeringNum");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumLessThanOrEqualTo(String value) {
            addCriterion("engineering_num <=", value, "engineeringNum");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumLike(String value) {
            addCriterion("engineering_num like", value, "engineeringNum");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumNotLike(String value) {
            addCriterion("engineering_num not like", value, "engineeringNum");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumIn(List<String> values) {
            addCriterion("engineering_num in", values, "engineeringNum");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumNotIn(List<String> values) {
            addCriterion("engineering_num not in", values, "engineeringNum");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumBetween(String value1, String value2) {
            addCriterion("engineering_num between", value1, value2, "engineeringNum");
            return (Criteria) this;
        }

        public Criteria andEngineeringNumNotBetween(String value1, String value2) {
            addCriterion("engineering_num not between", value1, value2, "engineeringNum");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameIsNull() {
            addCriterion("engineering_name is null");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameIsNotNull() {
            addCriterion("engineering_name is not null");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameEqualTo(String value) {
            addCriterion("engineering_name =", value, "engineeringName");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameNotEqualTo(String value) {
            addCriterion("engineering_name <>", value, "engineeringName");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameGreaterThan(String value) {
            addCriterion("engineering_name >", value, "engineeringName");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameGreaterThanOrEqualTo(String value) {
            addCriterion("engineering_name >=", value, "engineeringName");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameLessThan(String value) {
            addCriterion("engineering_name <", value, "engineeringName");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameLessThanOrEqualTo(String value) {
            addCriterion("engineering_name <=", value, "engineeringName");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameLike(String value) {
            addCriterion("engineering_name like", value, "engineeringName");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameNotLike(String value) {
            addCriterion("engineering_name not like", value, "engineeringName");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameIn(List<String> values) {
            addCriterion("engineering_name in", values, "engineeringName");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameNotIn(List<String> values) {
            addCriterion("engineering_name not in", values, "engineeringName");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameBetween(String value1, String value2) {
            addCriterion("engineering_name between", value1, value2, "engineeringName");
            return (Criteria) this;
        }

        public Criteria andEngineeringNameNotBetween(String value1, String value2) {
            addCriterion("engineering_name not between", value1, value2, "engineeringName");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeIsNull() {
            addCriterion("engineering_type is null");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeIsNotNull() {
            addCriterion("engineering_type is not null");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeEqualTo(String value) {
            addCriterion("engineering_type =", value, "engineeringType");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeNotEqualTo(String value) {
            addCriterion("engineering_type <>", value, "engineeringType");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeGreaterThan(String value) {
            addCriterion("engineering_type >", value, "engineeringType");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeGreaterThanOrEqualTo(String value) {
            addCriterion("engineering_type >=", value, "engineeringType");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeLessThan(String value) {
            addCriterion("engineering_type <", value, "engineeringType");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeLessThanOrEqualTo(String value) {
            addCriterion("engineering_type <=", value, "engineeringType");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeLike(String value) {
            addCriterion("engineering_type like", value, "engineeringType");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeNotLike(String value) {
            addCriterion("engineering_type not like", value, "engineeringType");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeIn(List<String> values) {
            addCriterion("engineering_type in", values, "engineeringType");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeNotIn(List<String> values) {
            addCriterion("engineering_type not in", values, "engineeringType");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeBetween(String value1, String value2) {
            addCriterion("engineering_type between", value1, value2, "engineeringType");
            return (Criteria) this;
        }

        public Criteria andEngineeringTypeNotBetween(String value1, String value2) {
            addCriterion("engineering_type not between", value1, value2, "engineeringType");
            return (Criteria) this;
        }

        public Criteria andMaterialNameIsNull() {
            addCriterion("material_name is null");
            return (Criteria) this;
        }

        public Criteria andMaterialNameIsNotNull() {
            addCriterion("material_name is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialNameEqualTo(String value) {
            addCriterion("material_name =", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameNotEqualTo(String value) {
            addCriterion("material_name <>", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameGreaterThan(String value) {
            addCriterion("material_name >", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameGreaterThanOrEqualTo(String value) {
            addCriterion("material_name >=", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameLessThan(String value) {
            addCriterion("material_name <", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameLessThanOrEqualTo(String value) {
            addCriterion("material_name <=", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameLike(String value) {
            addCriterion("material_name like", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameNotLike(String value) {
            addCriterion("material_name not like", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameIn(List<String> values) {
            addCriterion("material_name in", values, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameNotIn(List<String> values) {
            addCriterion("material_name not in", values, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameBetween(String value1, String value2) {
            addCriterion("material_name between", value1, value2, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameNotBetween(String value1, String value2) {
            addCriterion("material_name not between", value1, value2, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialModelIsNull() {
            addCriterion("material_model is null");
            return (Criteria) this;
        }

        public Criteria andMaterialModelIsNotNull() {
            addCriterion("material_model is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialModelEqualTo(String value) {
            addCriterion("material_model =", value, "materialModel");
            return (Criteria) this;
        }

        public Criteria andMaterialModelNotEqualTo(String value) {
            addCriterion("material_model <>", value, "materialModel");
            return (Criteria) this;
        }

        public Criteria andMaterialModelGreaterThan(String value) {
            addCriterion("material_model >", value, "materialModel");
            return (Criteria) this;
        }

        public Criteria andMaterialModelGreaterThanOrEqualTo(String value) {
            addCriterion("material_model >=", value, "materialModel");
            return (Criteria) this;
        }

        public Criteria andMaterialModelLessThan(String value) {
            addCriterion("material_model <", value, "materialModel");
            return (Criteria) this;
        }

        public Criteria andMaterialModelLessThanOrEqualTo(String value) {
            addCriterion("material_model <=", value, "materialModel");
            return (Criteria) this;
        }

        public Criteria andMaterialModelLike(String value) {
            addCriterion("material_model like", value, "materialModel");
            return (Criteria) this;
        }

        public Criteria andMaterialModelNotLike(String value) {
            addCriterion("material_model not like", value, "materialModel");
            return (Criteria) this;
        }

        public Criteria andMaterialModelIn(List<String> values) {
            addCriterion("material_model in", values, "materialModel");
            return (Criteria) this;
        }

        public Criteria andMaterialModelNotIn(List<String> values) {
            addCriterion("material_model not in", values, "materialModel");
            return (Criteria) this;
        }

        public Criteria andMaterialModelBetween(String value1, String value2) {
            addCriterion("material_model between", value1, value2, "materialModel");
            return (Criteria) this;
        }

        public Criteria andMaterialModelNotBetween(String value1, String value2) {
            addCriterion("material_model not between", value1, value2, "materialModel");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationIsNull() {
            addCriterion("material_specification is null");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationIsNotNull() {
            addCriterion("material_specification is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationEqualTo(String value) {
            addCriterion("material_specification =", value, "materialSpecification");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationNotEqualTo(String value) {
            addCriterion("material_specification <>", value, "materialSpecification");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationGreaterThan(String value) {
            addCriterion("material_specification >", value, "materialSpecification");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationGreaterThanOrEqualTo(String value) {
            addCriterion("material_specification >=", value, "materialSpecification");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationLessThan(String value) {
            addCriterion("material_specification <", value, "materialSpecification");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationLessThanOrEqualTo(String value) {
            addCriterion("material_specification <=", value, "materialSpecification");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationLike(String value) {
            addCriterion("material_specification like", value, "materialSpecification");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationNotLike(String value) {
            addCriterion("material_specification not like", value, "materialSpecification");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationIn(List<String> values) {
            addCriterion("material_specification in", values, "materialSpecification");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationNotIn(List<String> values) {
            addCriterion("material_specification not in", values, "materialSpecification");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationBetween(String value1, String value2) {
            addCriterion("material_specification between", value1, value2, "materialSpecification");
            return (Criteria) this;
        }

        public Criteria andMaterialSpecificationNotBetween(String value1, String value2) {
            addCriterion("material_specification not between", value1, value2, "materialSpecification");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandIsNull() {
            addCriterion("material_brand is null");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandIsNotNull() {
            addCriterion("material_brand is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandEqualTo(String value) {
            addCriterion("material_brand =", value, "materialBrand");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandNotEqualTo(String value) {
            addCriterion("material_brand <>", value, "materialBrand");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandGreaterThan(String value) {
            addCriterion("material_brand >", value, "materialBrand");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandGreaterThanOrEqualTo(String value) {
            addCriterion("material_brand >=", value, "materialBrand");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandLessThan(String value) {
            addCriterion("material_brand <", value, "materialBrand");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandLessThanOrEqualTo(String value) {
            addCriterion("material_brand <=", value, "materialBrand");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandLike(String value) {
            addCriterion("material_brand like", value, "materialBrand");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandNotLike(String value) {
            addCriterion("material_brand not like", value, "materialBrand");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandIn(List<String> values) {
            addCriterion("material_brand in", values, "materialBrand");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandNotIn(List<String> values) {
            addCriterion("material_brand not in", values, "materialBrand");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandBetween(String value1, String value2) {
            addCriterion("material_brand between", value1, value2, "materialBrand");
            return (Criteria) this;
        }

        public Criteria andMaterialBrandNotBetween(String value1, String value2) {
            addCriterion("material_brand not between", value1, value2, "materialBrand");
            return (Criteria) this;
        }

        public Criteria andUnitIsNull() {
            addCriterion("unit is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("unit is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("unit =", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotEqualTo(String value) {
            addCriterion("unit <>", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("unit >", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThanOrEqualTo(String value) {
            addCriterion("unit >=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThan(String value) {
            addCriterion("unit <", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThanOrEqualTo(String value) {
            addCriterion("unit <=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLike(String value) {
            addCriterion("unit like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotLike(String value) {
            addCriterion("unit not like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitIn(List<String> values) {
            addCriterion("unit in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotIn(List<String> values) {
            addCriterion("unit not in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitBetween(String value1, String value2) {
            addCriterion("unit between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotBetween(String value1, String value2) {
            addCriterion("unit not between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(Float value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(Float value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(Float value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(Float value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(Float value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(Float value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<Float> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<Float> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(Float value1, Float value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(Float value1, Float value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andAngebotspreisIsNull() {
            addCriterion("angebotspreis is null");
            return (Criteria) this;
        }

        public Criteria andAngebotspreisIsNotNull() {
            addCriterion("angebotspreis is not null");
            return (Criteria) this;
        }

        public Criteria andAngebotspreisEqualTo(Float value) {
            addCriterion("angebotspreis =", value, "angebotspreis");
            return (Criteria) this;
        }

        public Criteria andAngebotspreisNotEqualTo(Float value) {
            addCriterion("angebotspreis <>", value, "angebotspreis");
            return (Criteria) this;
        }

        public Criteria andAngebotspreisGreaterThan(Float value) {
            addCriterion("angebotspreis >", value, "angebotspreis");
            return (Criteria) this;
        }

        public Criteria andAngebotspreisGreaterThanOrEqualTo(Float value) {
            addCriterion("angebotspreis >=", value, "angebotspreis");
            return (Criteria) this;
        }

        public Criteria andAngebotspreisLessThan(Float value) {
            addCriterion("angebotspreis <", value, "angebotspreis");
            return (Criteria) this;
        }

        public Criteria andAngebotspreisLessThanOrEqualTo(Float value) {
            addCriterion("angebotspreis <=", value, "angebotspreis");
            return (Criteria) this;
        }

        public Criteria andAngebotspreisIn(List<Float> values) {
            addCriterion("angebotspreis in", values, "angebotspreis");
            return (Criteria) this;
        }

        public Criteria andAngebotspreisNotIn(List<Float> values) {
            addCriterion("angebotspreis not in", values, "angebotspreis");
            return (Criteria) this;
        }

        public Criteria andAngebotspreisBetween(Float value1, Float value2) {
            addCriterion("angebotspreis between", value1, value2, "angebotspreis");
            return (Criteria) this;
        }

        public Criteria andAngebotspreisNotBetween(Float value1, Float value2) {
            addCriterion("angebotspreis not between", value1, value2, "angebotspreis");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIsNull() {
            addCriterion("total_amount is null");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIsNotNull() {
            addCriterion("total_amount is not null");
            return (Criteria) this;
        }

        public Criteria andTotalAmountEqualTo(Float value) {
            addCriterion("total_amount =", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotEqualTo(Float value) {
            addCriterion("total_amount <>", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountGreaterThan(Float value) {
            addCriterion("total_amount >", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountGreaterThanOrEqualTo(Float value) {
            addCriterion("total_amount >=", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLessThan(Float value) {
            addCriterion("total_amount <", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLessThanOrEqualTo(Float value) {
            addCriterion("total_amount <=", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIn(List<Float> values) {
            addCriterion("total_amount in", values, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotIn(List<Float> values) {
            addCriterion("total_amount not in", values, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountBetween(Float value1, Float value2) {
            addCriterion("total_amount between", value1, value2, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotBetween(Float value1, Float value2) {
            addCriterion("total_amount not between", value1, value2, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andFinishesIsNull() {
            addCriterion("finishes is null");
            return (Criteria) this;
        }

        public Criteria andFinishesIsNotNull() {
            addCriterion("finishes is not null");
            return (Criteria) this;
        }

        public Criteria andFinishesEqualTo(String value) {
            addCriterion("finishes =", value, "finishes");
            return (Criteria) this;
        }

        public Criteria andFinishesNotEqualTo(String value) {
            addCriterion("finishes <>", value, "finishes");
            return (Criteria) this;
        }

        public Criteria andFinishesGreaterThan(String value) {
            addCriterion("finishes >", value, "finishes");
            return (Criteria) this;
        }

        public Criteria andFinishesGreaterThanOrEqualTo(String value) {
            addCriterion("finishes >=", value, "finishes");
            return (Criteria) this;
        }

        public Criteria andFinishesLessThan(String value) {
            addCriterion("finishes <", value, "finishes");
            return (Criteria) this;
        }

        public Criteria andFinishesLessThanOrEqualTo(String value) {
            addCriterion("finishes <=", value, "finishes");
            return (Criteria) this;
        }

        public Criteria andFinishesLike(String value) {
            addCriterion("finishes like", value, "finishes");
            return (Criteria) this;
        }

        public Criteria andFinishesNotLike(String value) {
            addCriterion("finishes not like", value, "finishes");
            return (Criteria) this;
        }

        public Criteria andFinishesIn(List<String> values) {
            addCriterion("finishes in", values, "finishes");
            return (Criteria) this;
        }

        public Criteria andFinishesNotIn(List<String> values) {
            addCriterion("finishes not in", values, "finishes");
            return (Criteria) this;
        }

        public Criteria andFinishesBetween(String value1, String value2) {
            addCriterion("finishes between", value1, value2, "finishes");
            return (Criteria) this;
        }

        public Criteria andFinishesNotBetween(String value1, String value2) {
            addCriterion("finishes not between", value1, value2, "finishes");
            return (Criteria) this;
        }

        public Criteria andProducterIsNull() {
            addCriterion("Producter is null");
            return (Criteria) this;
        }

        public Criteria andProducterIsNotNull() {
            addCriterion("Producter is not null");
            return (Criteria) this;
        }

        public Criteria andProducterEqualTo(String value) {
            addCriterion("Producter =", value, "producter");
            return (Criteria) this;
        }

        public Criteria andProducterNotEqualTo(String value) {
            addCriterion("Producter <>", value, "producter");
            return (Criteria) this;
        }

        public Criteria andProducterGreaterThan(String value) {
            addCriterion("Producter >", value, "producter");
            return (Criteria) this;
        }

        public Criteria andProducterGreaterThanOrEqualTo(String value) {
            addCriterion("Producter >=", value, "producter");
            return (Criteria) this;
        }

        public Criteria andProducterLessThan(String value) {
            addCriterion("Producter <", value, "producter");
            return (Criteria) this;
        }

        public Criteria andProducterLessThanOrEqualTo(String value) {
            addCriterion("Producter <=", value, "producter");
            return (Criteria) this;
        }

        public Criteria andProducterLike(String value) {
            addCriterion("Producter like", value, "producter");
            return (Criteria) this;
        }

        public Criteria andProducterNotLike(String value) {
            addCriterion("Producter not like", value, "producter");
            return (Criteria) this;
        }

        public Criteria andProducterIn(List<String> values) {
            addCriterion("Producter in", values, "producter");
            return (Criteria) this;
        }

        public Criteria andProducterNotIn(List<String> values) {
            addCriterion("Producter not in", values, "producter");
            return (Criteria) this;
        }

        public Criteria andProducterBetween(String value1, String value2) {
            addCriterion("Producter between", value1, value2, "producter");
            return (Criteria) this;
        }

        public Criteria andProducterNotBetween(String value1, String value2) {
            addCriterion("Producter not between", value1, value2, "producter");
            return (Criteria) this;
        }

        public Criteria andQuantityIsNull() {
            addCriterion("quantity is null");
            return (Criteria) this;
        }

        public Criteria andQuantityIsNotNull() {
            addCriterion("quantity is not null");
            return (Criteria) this;
        }

        public Criteria andQuantityEqualTo(Integer value) {
            addCriterion("quantity =", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityNotEqualTo(Integer value) {
            addCriterion("quantity <>", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityGreaterThan(Integer value) {
            addCriterion("quantity >", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("quantity >=", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityLessThan(Integer value) {
            addCriterion("quantity <", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("quantity <=", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityIn(List<Integer> values) {
            addCriterion("quantity in", values, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityNotIn(List<Integer> values) {
            addCriterion("quantity not in", values, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityBetween(Integer value1, Integer value2) {
            addCriterion("quantity between", value1, value2, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("quantity not between", value1, value2, "quantity");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andSpareIsNull() {
            addCriterion("spare is null");
            return (Criteria) this;
        }

        public Criteria andSpareIsNotNull() {
            addCriterion("spare is not null");
            return (Criteria) this;
        }

        public Criteria andSpareEqualTo(String value) {
            addCriterion("spare =", value, "spare");
            return (Criteria) this;
        }

        public Criteria andSpareNotEqualTo(String value) {
            addCriterion("spare <>", value, "spare");
            return (Criteria) this;
        }

        public Criteria andSpareGreaterThan(String value) {
            addCriterion("spare >", value, "spare");
            return (Criteria) this;
        }

        public Criteria andSpareGreaterThanOrEqualTo(String value) {
            addCriterion("spare >=", value, "spare");
            return (Criteria) this;
        }

        public Criteria andSpareLessThan(String value) {
            addCriterion("spare <", value, "spare");
            return (Criteria) this;
        }

        public Criteria andSpareLessThanOrEqualTo(String value) {
            addCriterion("spare <=", value, "spare");
            return (Criteria) this;
        }

        public Criteria andSpareLike(String value) {
            addCriterion("spare like", value, "spare");
            return (Criteria) this;
        }

        public Criteria andSpareNotLike(String value) {
            addCriterion("spare not like", value, "spare");
            return (Criteria) this;
        }

        public Criteria andSpareIn(List<String> values) {
            addCriterion("spare in", values, "spare");
            return (Criteria) this;
        }

        public Criteria andSpareNotIn(List<String> values) {
            addCriterion("spare not in", values, "spare");
            return (Criteria) this;
        }

        public Criteria andSpareBetween(String value1, String value2) {
            addCriterion("spare between", value1, value2, "spare");
            return (Criteria) this;
        }

        public Criteria andSpareNotBetween(String value1, String value2) {
            addCriterion("spare not between", value1, value2, "spare");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Integer value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Integer value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Integer value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Integer value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Integer value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Integer> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Integer> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Integer value1, Integer value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("create_user like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("create_user not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("update_user like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("update_user not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}